package com.haiyan.demo05_扩展多个类的代码放到一个文件中;

class Fu{

}
class Zi extends Fu{

}

public class Test {
    public static void main(String[] args) {
        Zi zi=new Zi();
    }
}
